package com.study.reflect.demo.generic;

import java.util.List;


public class User {
	
	private String username ;
	private String password ;
	
	private List<String> cities ;
	
	public User() {
	}
	
	public User(String username, String password) {
		this.username = username;
		this.password = password;
	}

	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	public List<String> getCities() {
		return cities;
	}

	public void setCities(List<String> cities) {
		this.cities = cities;
	}

	@Override
	public String toString() {
		return "User [username=" + username + ", password=" + password
				+ ", cities=" + cities + "]";
	}
	
}
